@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">
            <div class="row">
                <input type="hidden" id="id" value="${template.id}">
                <div class="col-sm-6 b-r">
                    <#input id="name" name="预案名称" value="${template.name}" readonly="true" underline="true"/>
                    <#input id="typeName" name="类别" value="${template.typeName}" hidden="type" hiddenValue="${template.type}" readonly="true" underline="true"/>
                    <#input id="accidentTypeName" name="事故类型" value="${template.accidentTypeName}"
                            hidden="accidentTypeId" hiddenValue="${template.accidentTypeId}" readonly="true"/>
                </div>

                <div class="col-sm-6">
                    <#input id="levelName" name="响应等级" value="${template.levelName}"
                            hidden="level" hiddenValue="${template.level}" readonly="true" underline="true"/>

                    <#input id="stationName" name="车站" value="${template.stationName}"
                            hidden="stationId" hiddenValue="${template.stationId}" readonly="true" underline="true"/>

                    <#input id="accidentMainName" name="岗位" value="${template.accidentMain}" hidden="accidentMain" hiddenValue="${template.accidentMain}" readonly="true" underline="false"/>

                </div>
            </div>
            <#ue id="content" value="${template.content}"/>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="修改" id="ensure" icon="fa-check"
                            clickFun="CounterplanTemplateInfoDlg.openCounterplanTemplateDetailUpdate()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser"
                            clickFun="CounterplanTemplateInfoDlg.close()"/>
                </div>
            </div>

        </div>

    </div>
</div>

<script>
    $(function () {
        var ue = UE.getEditor('content', {
            autoHeightEnabled: false
            , initialFrameHeight: 420
            , readonly:true
            , toolbars:[]

        });
    });
</script>
<script src="${ctxPath}/static/modular/yjya/counterplanTemplate/counterplanTemplate_info.js"></script>
@}
